package br.com.daniele.connection;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory {
	
	
	public Connection getConnection(){
		
		try {
			return DriverManager.getConnection("jdbc:postgresql://localhost:5432/webnfe", "userdbf", "bcfa94a31863f1ee0044f42a44e17e4d");
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
		
	}

}
